<div class='center_form'>
      <div class="center_form_right">
        
        <div class='center_form_btn_div' onclick='javascript:Common.submit();'>
            <div class='center_form_btn_pic'>
                <img src='<?php echo HttpUtil::baseUrl();?>/images/save.gif'/>
            </div><div class='center_form_btn_text'><?php echo $this->translate("saveBtn"); ?></div>
        </div>
        <div class='center_form_btn_div' onclick="javascript:Common.deleteSubmit('<?php echo HttpUtil::baseUrl();?>/customer/customer/deletecomment/id/<?php echo $this->id; ?>')">
            <div class='center_form_btn_pic'>
                <img src='<?php echo HttpUtil::baseUrl();?>/images/delete.gif'/>
            </div><div class='center_form_btn_text'><?php echo $this->translate("delBtn");?></div>
        </div>
        
        <div class='center_form_btn_div' onclick='javascript:Common.gotoUrl("<?php echo HttpUtil::baseUrl();?>/customer/customer/usercommentslist");'>
            <div class='center_form_btn_pic'>
                <img src='<?php echo HttpUtil::baseUrl();?>/images/cancel.gif'/>
            </div><div class='center_form_btn_text'><?php echo $this->translate("cancelBtn"); ?></div>
        </div>
      </div>
</div>
<div id="dbgrid_centerbig" class="dbgrid_centerbig">
<div class="dbgrid_center_top"><span class="center_top_title"><?php echo $this->translate("CommentManage"); ?></span></div>
         <div class="dbgrid_center_right">   
            <table  cellpadding="1" cellspacing="0" >
                 <tr>
                     <td class = 'dbgrid_th'colspan="4">&nbsp;&nbsp;&nbsp;&nbsp;</td>
                 </tr>
                 <tr>
                     <td class = 'dbgrid_th'><?php echo $this->translate("commenter"); ?></td>
                     <td class = 'dbgrid_td'><?php echo $this->comment["name"]; ?></td>
                     <td class = 'dbgrid_th'><?php echo $this->translate("point"); ?></td>
                     <td class = 'dbgrid_td'><?php echo $this->comment["point"]; ?></td>
                 </tr>
                 <tr>
                     <td class = 'dbgrid_th'><?php echo $this->translate("productTitle"); ?></td>
                     <td class = 'dbgrid_td'><?php echo $this->comment["title"];?></td>
                     <td class = 'dbgrid_th'><?php echo $this->translate("productId"); ?></td>
                     <td class = 'dbgrid_td'><?php echo $this->comment["product_id"];?></td>
                 </tr>
                 <tr>
                     
                     <td class = 'dbgrid_th'><?php echo $this->translate("commentTime"); ?></td>
                     <td class = 'dbgrid_td'><?php echo $this->comment["created"];?></td>
                     <td class = 'dbgrid_th'><?php echo $this->translate("showInProduct")?></td>
                     <td class = 'dbgrid_td'>
                     <?php 
                         echo $this->comment["show_in_product"] == "1" ? 
                         $this->translate("inProductShow") : $this->translate("inProductUnshow"); 
                     ?></td>
                 </tr>
                 <?php if(!empty($this->comment["replier"])){ ?>
                 <tr>
                     <td class = 'dbgrid_th'><?php echo $this->translate("replyMan"); ?></td>
                     <td class = 'dbgrid_td'><?php echo $this->comment["replier"];?></td>
                     <td class = 'dbgrid_th'><?php echo $this->translate("replyTime"); ?></td>
                     <td class = 'dbgrid_td'><?php echo $this->comment["rcreated"];?></td>
                 </tr>
                 <?php } ?>
                         
                 <tr>
                     <td class = 'dbgrid_th'><?php echo $this->translate("commentContent"); ?></td>
                     <td class = 'dbgrid_td' colspan="3" align="left"><?php echo $this->comment["content"];?></td>
                 </tr>
            </table>
            <form action="<?php echo $this->form->getAction(); ?>" method="post" id="customerForm" name="customerForm">
                
                    <?php echo ZendFormUtil::renderElement($this->form->id); ?>
                    <?php ZendFormUtil::renderElement($this->form->rcontent,array("style"=>"width:60px;")); ?>
              
           </form>
      </div>
      
      <div class='clear'></div>
</div>
